[WIP] Add WebRTC features to Linux#277
Conversation
|
FYI for anyone coming across this, if I remember correctly from testing, the core problem lies in the fact that |
|
I'm an absolute amateur, and I'm sorry if what I write is complete bullsh*, but could something like this be an alternative for this project? |
|
I've been suggested that plugin before I believe, and it just seems like one of those unfinished vibe-coded projects. The rust code doesn't really do anything, and the library it's "based on" (loose usage of the phrase because the rust code doesn't contain even one reference to the |
This PR is a starting point to enable media/WebRTC features to Linux currently it allows to get to this point :

But the issue lies with the
navigator.getUserMedia()this API is deprecated and not available in webkitGTK and nownavigator.mediaDevices.getUserMedia()must be used, and using some polyfill or dirty JS injection doesn't solve the problem.I'm putting this as a draft PR if one day either Discord or webkit changes something so it can be merged.
In the mean time if someone has an idea you are welcome to modify the code.